package com.example.demo.controller;

import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpSession;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping
public class KaptchaController {


    @RequestMapping("/vc.jpg")
    public void image(HttpServletRequest request, HttpServletResponse response, HttpSession session, String a) throws Exception {
        System.out.println(11111);
        response.setContentType("image/jpeg");
    }
}
